/*
 *    Document   : stReproducaoMaterial
 *    Created on : 04/03/2013, 16:14:09
 *    Author     : Fiúza <rbfiuza@gmail.com>
 */


Ext.define('FC.model.StReproducaoMaterial',{
    extend: 'Ext.data.Model'
    
    ,fields:[
        {name:'id',type:'int'}
        ,{name:'dscStReproducaoMaterial',type:'string'}
        ,{name:'qntAlunos',type:'int'}
        ,{name:'qntTutores',type:'int'}
        ,{name:'qntPolos',type:'int'}
        ,{name:'qntProf',type:'int'}
        ,{name:'qntExemplarDisc',type:'int'}
        ,{name:'qntDisciplinas',type:'int'}
        ,{name:'qntTotal',type:'number'}
        ,{name:'vlrUnit',type:'number'}
        ,{name:'vlrFinal',type:'number'}
        ,{name:'indicacoesParametros', type:'string'}
    ],

    validations:[
       {type:'presence', field:'qntAlunos'}
       ,{type:'presence', field:'qntTutores'}
       ,{type:'presence', field:'qntPolos'}
       ,{type:'presence', field:'qntProf'}
       ,{type:'presence', field:'vlrUnit'}
    ]

});